package com.ruoyi.binance.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易配置对象 binance_transaction_conf
 *
 * @author zq
 * @date 2025-08-29
 */
public class BinanceTransactionConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String code;

    /** USDT数量 */
    @Excel(name = "USDT数量")
    private BigDecimal usdtNumber;

    /** 代币数量 */
    @Excel(name = "代币数量")
    private BigDecimal coinNumber;

    /** 操作方向：BUY-买入，SELL-卖出 */
    @Excel(name = "操作方向：BUY-买入，SELL-卖出")
    private String side;

    /** 监控类型 */
    @Excel(name = "监控类型")
    private String monitoringType;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }

    public void setUsdtNumber(BigDecimal usdtNumber)
    {
        this.usdtNumber = usdtNumber;
    }

    public BigDecimal getUsdtNumber()
    {
        return usdtNumber;
    }

    public void setCoinNumber(BigDecimal coinNumber)
    {
        this.coinNumber = coinNumber;
    }

    public BigDecimal getCoinNumber()
    {
        return coinNumber;
    }

    public void setSide(String side)
    {
        this.side = side;
    }

    public String getSide()
    {
        return side;
    }

    public void setMonitoringType(String monitoringType)
    {
        this.monitoringType = monitoringType;
    }

    public String getMonitoringType()
    {
        return monitoringType;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("usdtNumber", getUsdtNumber())
                .append("coinNumber", getCoinNumber())
                .append("side", getSide())
                .append("monitoringType", getMonitoringType())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}